package com.scm.persist.mybatis;

import com.scm.persist.model.ScmOrderBaobei;
import com.scm.persist.model.ScmOrderBaobeiExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmOrderBaobeiMapper {
    int countByExample(ScmOrderBaobeiExample example);

    int deleteByExample(ScmOrderBaobeiExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmOrderBaobei record);

    int insertSelective(ScmOrderBaobei record);

    List<ScmOrderBaobei> selectByExampleWithRowbounds(ScmOrderBaobeiExample example, RowBounds rowBounds);

    List<ScmOrderBaobei> selectByExample(ScmOrderBaobeiExample example);

    ScmOrderBaobei selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmOrderBaobei record, @Param("example") ScmOrderBaobeiExample example);

    int updateByExample(@Param("record") ScmOrderBaobei record, @Param("example") ScmOrderBaobeiExample example);

    int updateByPrimaryKeySelective(ScmOrderBaobei record);

    int updateByPrimaryKey(ScmOrderBaobei record);
}